From: Sven Eckelmann Date: Sat, 27 Jul 2019 20:02:50 +0000 (+0200) Subject: batmand: Drop unused make parameters X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=ebc6f4d5b3c63517456212278a99e03cdf87ced1;p=feed%2Frouting.git batmand: Drop unused make parameters Signed-off-by: Sven Eckelmann --- diff --git a/batmand/Makefile b/batmand/Makefile index b8520b9..7f044bd 100644 --- a/batmand/Makefile +++ b/batmand/Makefile @@ -42,15 +42,10 @@ endef MAKE_BATMAND_ARGS += \ EXTRA_CFLAGS='$(TARGET_CFLAGS) $(PKG_EXTRA_CFLAGS)' \ - CCFLAGS="$(TARGET_CFLAGS)" \ - OFLAGS="$(TARGET_CFLAGS)" \ REVISION="$(PKG_REV)" \ CC="$(TARGET_CC)" \ - NODEBUG=1 \ UNAME="Linux" \ - INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ - STRIP="/bin/true" \ - batmand install + batmand define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_BATMAND_ARGS) @@ -58,7 +53,7 @@ endef define Package/batmand/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/batmand $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/batmand $(1)/usr/sbin/ $(INSTALL_BIN) ./files/etc/init.d/batmand $(1)/etc/init.d $(INSTALL_DATA) ./files/etc/config/batmand $(1)/etc/config endef